﻿using System;
using System.ComponentModel;

namespace SharpSqlAnalyzer
{
	// Token: 0x02000020 RID: 32
	public static class EJoinHintHelper
	{
		// Token: 0x06000001 RID: 1 RVA: 0x00002050 File Offset: 0x00000250
		public static string ToString(EJoinHint val)
		{
			DescriptionAttribute[] array = (DescriptionAttribute[])val.GetType().GetField(val.ToString()).GetCustomAttributes(typeof(DescriptionAttribute), false);
			if (array.Length == 0)
			{
				return string.Empty;
			}
			return array[0].Description;
		}
	}
}
